.class Lcom/instagram/android/widget/al;
.super Ljava/lang/Object;
.source "ShareTableHelper.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/widget/ag;


# direct methods
.method constructor <init>(Lcom/instagram/android/widget/ag;)V
    .locals 0
    .parameter

    .prologue
    .line 270
    iput-object p1, p0, Lcom/instagram/android/widget/al;->a:Lcom/instagram/android/widget/ag;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    .line 273
    invoke-static {}, Lcom/instagram/android/maps/f/a;->a()Z

    move-result v0

    if-nez v0, :cond_0

    .line 274
    iget-object v0, p0, Lcom/instagram/android/widget/al;->a:Lcom/instagram/android/widget/ag;

    invoke-static {v0}, Lcom/instagram/android/widget/ag;->b(Lcom/instagram/android/widget/ag;)Lcom/instagram/e/b/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/b;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/widget/al;->a:Lcom/instagram/android/widget/ag;

    invoke-static {v1}, Lcom/instagram/android/widget/ag;->g(Lcom/instagram/android/widget/ag;)Lcom/instagram/android/widget/ShareTable;

    move-result-object v1

    sget v2, Lcom/facebook/aw;->caption_text_view:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/widget/ShareTable;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/n/k;->a(Landroid/content/Context;Landroid/view/View;)V

    .line 277
    new-instance v0, Lcom/instagram/ui/a/a;

    iget-object v1, p0, Lcom/instagram/android/widget/al;->a:Lcom/instagram/android/widget/ag;

    invoke-static {v1}, Lcom/instagram/android/widget/ag;->b(Lcom/instagram/android/widget/ag;)Lcom/instagram/e/b/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/e/b/b;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/facebook/ba;->unable_to_add_foursquare_location_no_maps:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->ok:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 282
    :cond_0
    return-void
.end method
